package com.bawei.a2010douyin.widget;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.bawei.a2010douyin.R;

public class AoActivity extends AppCompatActivity {
    private AoLiGeiView ao;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ao);
        ao = (AoLiGeiView) findViewById(R.id.ao);
    }

    public void dianzan(View view) {
        ao.addImages(R.drawable.ic_xihuanred,R.drawable.ic_fabu,R.drawable.ic_fasong);
        ao.addFavor();
    }
}